package com.example.clock_demo.common.enums;

public enum UserRole {
    ADMIN("ADMIN", "系统管理员"),
    EMPLOYEE("EMPLOYEE", "普通员工");

    private final String code;
    private final String desc;

    UserRole(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}